# Tailwind CSS v4 插件

import { Badge } from '@theme';

<Badge text="@empjs/cli@3.7.0 适配热更" type="warning" />

## 快速开始

### 安装插件
import { PackageManagerTabs } from '@theme';

<PackageManagerTabs command="add @empjs/plugin-tailwindcss" />

### 注册插件
```ts title="emp-config.js"
import {defineConfig} from '@empjs/cli'
import pluginTailwindcss from '@empjs/plugin-tailwindcss'
export default defineConfig(store => {
  return {
    plugins:[
      pluginTailwindcss(),
    ],
  }
})

```

### 引入样式
```css title="style.css"
@import "tailwindcss";
```
#### 引入 style.css 到项目